# $Id: PKGBUILD 150542 2012-02-18 12:19:25Z pierre $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org

pkgname=texi2html
pkgver=5.0
pkgrel=2
pkgdesc="Converts texinfo documents to HTML"
arch=('any')
url="http://www.nongnu.org/texi2html/"
license=('GPL')
depends=('perl')
install=texi2html.install
source=("http://download.savannah.gnu.org/releases/texi2html/$pkgname-$pkgver.tar.bz2")
md5sums=('f15ac876fcdc8be865b16535f480aa54')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir"  install
}
